package com.zyf.chapter02.behavior.state.mario.refactor.v1;

import com.zyf.chapter02.behavior.state.mario.State;

/**
 * 初始状态
 * @author yifeng
 */
public class CapeMario implements IMario{
    private MarioStateMachine stateMachine;

    public CapeMario(MarioStateMachine marioStateMachine) {
        this.stateMachine = marioStateMachine;
    }

    @Override
    public State getName() {
        return State.SMALL;
    }

    @Override
    public void obtainMushRoom() {
//        stateMachine.setCurrentState(new Super);
    }

    @Override
    public void obtainCape() {

    }

    @Override
    public void obtainFireFlower() {

    }

    @Override
    public void meetMoster() {

    }
}
